Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(showcase): embed section #89

Merged
merged 4 commits into from
May 21, 2019
Merged

feat(showcase): embed section #89

merged 4 commits into from
May 21, 2019

Conversation

danilowoz
Copy link
Contributor

@danilowoz danilowoz commented May 21, 2019

Closes #88

@danilowoz danilowoz requested a review from pdrbrnd May 21, 2019 14:38
Copy link
Member

@pdrbrnd pdrbrnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing embed and it would be nice to add this to the example project yml

src/components/Projects/Section/types.ts Show resolved Hide resolved
@pdrbrnd
Copy link
Member

pdrbrnd commented May 21, 2019

Deploy preview ready! https://pr-89.significa.io/

export const Wrapper = styled.div`
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this padding-top? I believe we don't have padding in any section and the sectionWrapper takes care of all the top and bottom spacings

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@pdrbrnd pdrbrnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments


export const Wrapper = styled.div`
position: relative;
padding-bottom: 56.25%; /* 16:9 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we safely assume that it's always 16:9?

cc @pedroet

src/templates/project.tsx Show resolved Hide resolved
@danilowoz danilowoz requested a review from pdrbrnd May 21, 2019 14:54
@pdrbrnd
Copy link
Member

pdrbrnd commented May 21, 2019

Deploy preview ready! https://pr-89.significa.io/

@pdrbrnd pdrbrnd merged commit 97a291d into master May 21, 2019
@pdrbrnd pdrbrnd deleted the showcase-embed branch May 21, 2019 15:08
@pdrbrnd
Copy link
Member

pdrbrnd commented May 21, 2019

Deploy preview ready! https://pr-89.significa.io/

pdrbrnd pushed a commit that referenced this pull request Nov 25, 2019
feat(showcase): embed section
tofran added a commit that referenced this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Create Vimeo Component
2 participants